Platform Explorer / Nuxeo Platform 2021.47

Operation Context.RestoreDocumentsInputFromScript (Restore input documents from a script)

Description

Run a script and return the result documents object of the script the output of the operation
Operation id Context.RestoreDocumentsInputFromScript
Category Execution Context
Label Restore input documents from a script
Requires
Since

Parameters

Name Description Type Required Default value
script string yes  

Signature

Inputs void
Outputs documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.RestoreDocumentsInputFromScript
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Context.RestoreDocumentsInputFromScript",
  "label" : "Restore input documents from a script",
  "category" : "Execution Context",
  "requires" : null,
  "description" : "Run a script and return the result documents object of the script the output of the operation",
  "url" : "Context.RestoreDocumentsInputFromScript",
  "signature" : [ "void", "documents" ],
  "params" : [ {
    "name" : "script",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "TextArea",
    "order" : 0,
    "values" : [ ]
  } ]
}